<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Marker Image Providers</title>
<style type="text/css">@import url("file:/home/moovida/rcpdevelopment/eclipse/configuration/org.eclipse.osgi/bundles/488/1/.cp/book.css");</style>
<style type="text/css">@import url("file:/home/moovida/rcpdevelopment/eclipse/configuration/org.eclipse.osgi/bundles/505/1/.cp/schema.css");</style>
</HEAD>
<BODY>
<H1 style="text-align:center">Marker Image Providers</H1>
<p></p>
<h6 class="CaptionFigColumn SchemaHeader">Identifier: </h6>org.eclipse.ui.ide.markerImageProviders<p></p>
<h6 class="CaptionFigColumn SchemaHeader">Since: </h6>3.0 (originally added in release 2.1 as org.eclipse.ui.markerImageProviders)
<p></p>

<h6 class="CaptionFigColumn SchemaHeader">Description: </h6>The markerImageProvider extension point is the point for specifying the images for marker types in the defining plug-in.<p></p>
<h6 class="CaptionFigColumn SchemaHeader">Configuration Markup:</h6>
<p></p>
<p class="code SchemaDtd">&lt;!ELEMENT <a name="e.extension">extension</a> (<a href="#e.imageprovider">imageprovider</a>*)&gt;</p>
<p class="code SchemaDtd">&lt;!ATTLIST extension</p>
<p class="code SchemaDtdAttlist">point&nbsp;CDATA #REQUIRED</p><p class="code SchemaDtdAttlist">id&nbsp;&nbsp;&nbsp;&nbsp;CDATA #IMPLIED</p><p class="code SchemaDtdAttlist">name&nbsp;&nbsp;CDATA #IMPLIED</p>&gt;</p>
<p></p>
<ul class="ConfigMarkupAttlistDesc">
</ul>
<br><p class="code SchemaDtd">&lt;!ELEMENT <a name="e.imageprovider">imageprovider</a> EMPTY&gt;</p>
<p class="code SchemaDtd">&lt;!ATTLIST imageprovider</p>
<p class="code SchemaDtdAttlist">id&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CDATA #REQUIRED</p><p class="code SchemaDtdAttlist">markertype&nbsp;IDREF #REQUIRED</p><p class="code SchemaDtdAttlist">icon&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CDATA #IMPLIED</p><p class="code SchemaDtdAttlist">class&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CDATA #IMPLIED</p>&gt;</p>
<p></p>
<ul class="ConfigMarkupAttlistDesc">
<li><b>id</b> - a unique name that can be used to identify this markerImageProvider.</li>
<li><b>markertype</b> - The markertype is the id of the type defined in <code>org.eclipse.core.resources.IMarker</code> that this definition is applied to.</li>
<li><b>icon</b> - If there is no class defined the icon attribute is used to define the icon that will be applied to this type of marker.</li>
<li><b>class</b> - The class is the fully qualifed name of the class that will be used to look up an image. This class must implement <code>IMarkerImageProvider</code>.</li>
</ul>
<br><h6 class="CaptionFigColumn SchemaHeader">Examples: </h6>The following an example of the two forms of marker image providers. The first one is one where the image does not change and is declared directly. For the second one the image must be determined by an instance of IMarkerImageProvider.
 
<p>
<pre class="Example"><span class="code SchemaTag">
  &lt;extension
         point=</span><span class="code SchemaCstring">&quot;org.eclipse.ui.ide.markerImageProviders&quot;</span><span class="code SchemaTag">&gt;
      &lt;imageprovider
        markertype=</span><span class="code SchemaCstring">&quot;org.eclipse.core.resources.taskmarker&quot;</span><span class="code SchemaTag">
            icon=</span><span class="code SchemaCstring">&quot;taskicon.gif&quot;</span><span class="code SchemaTag">
            id=</span><span class="code SchemaCstring">&quot;myPlugin.declarativeMarkerProvider&quot;</span><span class="code SchemaTag">&gt;
      &lt;/imageprovider&gt;
      &lt;imageprovider
            markertype=</span><span class="code SchemaCstring">&quot;org.eclipse.core.resources.problemmarker&quot;</span><span class="code SchemaTag">
            class=</span><span class="code SchemaCstring">&quot;myPlugin.MyIMarkerImageProvider&quot;</span><span class="code SchemaTag">
            id=</span><span class="code SchemaCstring">&quot;myPlugin.implementedMarkerProvider&quot;</span><span class="code SchemaTag">&gt;
      &lt;/imageprovider&gt;
   &lt;/extension&gt;
</span></pre>
</p>
<p></p>

<h6 class="CaptionFigColumn SchemaHeader">API Information: </h6>markerImageProvider is currently internal and should not be considered API.
<p></p>

<h6 class="CaptionFigColumn SchemaHeader">Supplied Implementation: </h6>Image providers are currently registered for the bookmarks, tasks and problem markers.
<p></p>

<br>
<p class="note SchemaCopyright">
Copyright (c) 2002, 2006 IBM Corporation and others.<br>
All rights reserved. This program and the accompanying materials are made
available under the terms of the Eclipse Public License v1.0 which accompanies
this distribution, and is available at <a 
href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>

</p>
</BODY>
</HTML>
